package com.car.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.car.model.common.dtos.ResponseResult;
import com.car.model.component.pojos.ComClassify2;
import com.car.model.component.pojos.ComClassify2_img;
import org.springframework.web.multipart.MultipartFile;

import java.util.Date;


public interface ComClassify2imgService extends IService<ComClassify2_img> {

    /**
     * 保存图片
     * @param classify2Img
     * @return
     */
    ResponseResult saveImg(ComClassify2_img classify2Img);

    /**
     * 根据用户id查询对应图片
     * @param userId
     * @return
     */
    ResponseResult<ComClassify2_img> getImgByUserId(Integer userId);
}
